(function() {
  var $;
  $ = jQuery;
  $.fn.serializeForm = function() {
    var results;
    results = {};
    $.each(($(this)).serializeArray(), function(index, item) {
      return results[item.name] = item.value;
    });
    return results;
  };
}).call(this);
